home *** CD-ROM | disk | FTP | other *** search
- #Options +B +E -G -H +J +K +Z
- #asm
- .verbose
- #endasm
- #include "MyTools.p"
- #include "MS.h"
- //============================
- MSPROC1(theMSP,menuID,itemNumber,flg)
- MSPtr theMSP;
- short menuID;
- short itemNumber,flg;
- //=========================
- BEGIN_FCT
- int i;
- short limTab[2],fontNum;
- Str255 fontName;
-
- IF (NOT MSParsePROC(theMSP,0,&limTab[0]))
- THEN
- return (_MSMIVTER-1);
- ELSE
- FOR (i=limTab[0];i LE limTab[1];i++)
- GetItem(theMSP->MH,i,&fontName);
- GetFNum(&fontName,&fontNum);
- *((long *)(*theMSP->MIVTH)+i)=fontNum;
- ENDFOR
- return (_MSMIVTOK);
- ENDIF
- END_FCT
- main()
- {}